package com.tom.architect.party3.day32.simple2.rxlogin;

import java.util.Map;

// 封装登录成功的类，存放类。
public class RxLoginResult {

    private boolean isSucceed; // 是否成功
    private String msg;        //
    private Map<String, String> userInfoMaps; // 第三方的用户信息，不同里面字段可能不一样。
    private RxLoginPlatform platform;         // 平台

    public boolean isSucceed() {
        return isSucceed;
    }

    public void setSucceed(boolean succeed) {
        isSucceed = succeed;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Map<String, String> getUserInfoMaps() {
        return userInfoMaps;
    }

    public void setUserInfoMaps(Map<String, String> userInfoMaps) {
        this.userInfoMaps = userInfoMaps;
    }

    public RxLoginPlatform getPlatform() {
        return platform;
    }

    public void setPlatform(RxLoginPlatform platform) {
        this.platform = platform;
    }
}
